<template>
<div>
  <h1>主页</h1>
  <h2>你好{{name}}</h2>
  <router-link :to="{path: '/xiaoshuo'}" >写小说</router-link>
  <p></p>
  <router-link :to="{path: '/lip'}">兑换礼品</router-link>

</div>
</template>

<script>
export default {
  name: "azhu",
  data(){
    return{
      name:this.$route.query.name
    }
  },
}
</script>

<style scoped>

</style>